package com.mentaleye.dal.service;

import com.mentaleye.dal.model.PromptRead;
import com.mentaleye.dal.model.PromptReadExample;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

public interface PromptReadMapper {
	/**
	 * 修改提醒状态未读
	 * @param map
	 * @return
	 */
	int updateProNoRead(Map<String, Object> map);
	/**
	 * 修改提醒状态已读
	 * @param map
	 * @return
	 */
	int updateProRead(Map<String, Object> map);
	/**
	 * 查询是否存在
	 * @param promptId
	 * @param promptPersonId
	 * @return
	 */
	PromptRead queryIsExist(Map<String, Object> map);
	/**
	 * 修改提醒
	 * @param promptRead
	 * @return
	 */
	int updateByPromptRead(PromptRead promptRead);
    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table prompt_read
     *
     * @mbggenerated
     */
    int countByExample(PromptReadExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table prompt_read
     *
     * @mbggenerated
     */
    int deleteByExample(PromptReadExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table prompt_read
     *
     * @mbggenerated
     */
    int insert(PromptRead record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table prompt_read
     *
     * @mbggenerated
     */
    int insertSelective(PromptRead record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table prompt_read
     *
     * @mbggenerated
     */
    List<PromptRead> selectByExample(PromptReadExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table prompt_read
     *
     * @mbggenerated
     */
    int updateByExampleSelective(@Param("record") PromptRead record, @Param("example") PromptReadExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table prompt_read
     *
     * @mbggenerated
     */
    int updateByExample(@Param("record") PromptRead record, @Param("example") PromptReadExample example);
}